﻿.btnTheme{
    color:#fff;
    background-color:#f49484;
    transition:background-color linear 0.3s;
}  
.btnTheme:hover{    
    background-color:#e78170;
    color:#fff;
}   
.cTheme{
    color:#f49484;
}

html, body {
            margin: 0;
            padding: 0;
            background-color: #f5e1ba;            
        }
    .mask{
        display:none;
    }
        .pageBox {
            padding-left: 250px;
            position: relative;
            box-sizing: border-box;
            width: 100%;
        }

        .nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 250px;
            height: 100%;
            overflow-y: auto;
            border-right: 1px solid #ddd;
            background-color: #2a2a2a;
            color: #999;
            font-size: 14px;
            line-height: 25px;
            z-index: 9;
        }

            .nav::-webkit-scrollbar {
                width: 5px; /*宽度对垂直滚动条有效*/
                background-color: #F5F5F5;
            }

            .nav::-webkit-scrollbar-thumb {
                border-radius: 5px;
                -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
                background-color: green;
            }


        .nav-menu a {
            display: block;
            color: #fff;
            padding: 10px 15px;
            color: #999;
            transition: background-color linear 0.3s;
        }

            .nav-menu a:hover,.nav-menu a:focus {
                background-color: #f49484;
                color: #fff;
            }

        .nav .home {
            background-color: #e78170;
            color: #fff;
        }

        .nav-user {
            position: absolute;
            bottom: 5px;
            width: 100%;
            background-color:#2a2a2a;
            border-top:1px solid #555;
        }

            .nav-user a {
                display: block;
                padding: 10px 15px;
                color: #999;
            }

                .nav-user a:hover {
                    color: #fff;
                }

        .nav .icon {
            font-size: 18px;
        }

        .user-history li > a {
            color: #999;
            background-color: transparent;
            padding: 6px;
            font-size: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

            .user-history li > a:hover {
                color: #fff;
            }

        .user-history li {
            background-color: transparent;
            border-color: #555;
        }

        .user-history h3 {
            padding: 10px 15px;
            margin: 0;
        }

        .user-history .am-list {
            padding-left: 20px;
            margin-top: 0;
            display:none;
        }

        .ContentBox {
            width: 900px;
            margin: 0px auto;
            padding-top:20px;
        }
        .ContentBox .chapter {           
            background-color: #fff2d9;
            margin: 0 auto 20px;
            padding: 20px;
            font-size: 16px;
        }
            .ContentBox .chapterTitle {
                font-size: 18px;
            }
        
         #loading {
            margin: 20px auto;
            font-size: 32px;
            display:none;
        }
       

       
        .btnMenu{
            position:fixed;
            top:15px;right:15px;
            z-index:999;
            font-size:24px;
            border:2px solid #e78170;
            color:#e78170;
            width:45px;
            height:45px;
            line-height:38px;
            border-radius:50%;
            text-align:center;
            transition:all linear 0.3s;
        }
            .btnMenu:focus, .btnMenu:hover {
                color: #e78170;
            }
            .lastRead{
                display:none;
            }
            .lastRead p{
                font-size:18px;margin:0 0 5px;
            }
            .lastRead a{
                display: block; padding: 10px; border: 1px solid #ddd; color: #24272c;
                font-size:14px;
            }
        

         /*=============章节列表====================*/
        .chapterItem a {
            padding: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #24272c;
            border-bottom: 1px solid #e4e1da;
        }
            .chapterItem a:hover {
                color: #ac2231;
            }
        .listHeader h1{
            display:inline-block;font-size:32px;font-weight:normal;color:#303030;padding:10px 0;margin:0;
        }
        .listHeader span {
            padding-left:15px;font-size:14px;
        }
        .listHeader {
           box-shadow:rgba(0,0,0,0.5) 0 10px 8px;margin-bottom:30px;
        }

        .tuijian .am-u-sm-6 {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 15px;
    }

    .tuijian-item {
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 8px 0 -3px #f6f6f6, 0 9px 1px -3px rgba(0, 0, 0, 0.2), 0 16px 0 -6px #f6f6f6, 0 17px 2px -6px rgba(0, 0, 0, 0.2);
        border: 1px solid #E0E0E0;
        padding: 10px 10px 30px;
        display: block;
        margin-bottom:25px;
    }

        .tuijian-item dl {
            margin-bottom: 10px;
        }

        .tuijian-item dt {
            text-align: center;
            font-weight: normal;
            font-size: 18px;
            color: #f49484;
        }

        .tuijian-item dd {
            text-align: right;
            font-size: 14px;
            color: #bbb;
            margin-top: 0;
        }

    .tuijian-item-desc {
        font-size: 14px;
        color: #24272c;
    }

    .sorttitle dt {
        margin: 0;
        display: inline-block;
        border-left: 3px solid #f49484;
        padding-left: 15px;
        font-size: 26px;
        font-weight: normal;
    }

    .sorttitle dd {
        float: right;
        font-size: 14px;
        color: #bbb;
        margin-right: 20px;
        margin-top: 15px;
    }

        .sorttitle dd a {
            color: #f49484;
        }

        .sorttitle dd:hover {
            color: #e78170;
        }

    .categoryMenu a {
        background-color: #f49484;
        color: #fff;
        padding: 7px 15px;
        display: inline-block;
        margin: 0 5px 5px 0;
        font-size:14px;
    }

        .categoryMenu a:hover {
            background-color: #e78170;
            box-shadow: rgba(0,0,0,0.5) 1px 1px 5px;
        }

        .categoryList {
            background-color: #fff2d9;
            padding-top:20px;
            padding-bottom:20px;
            margin-bottom:20px;
        }
        .categoryList:nth-child(2n+1) {
            border-right: 10px solid #f5e1ba;
        }
        .categoryList:nth-child(2n) {
            border-left: 10px solid #f5e1ba;
        }
            .categoryList ul {
                margin-bottom:0;
            }

            .categoryList li {
                background-color: transparent;
                border-color: #e4e1da;
            }
            .categoryList li a {
                color: #24272c;font-size:14px;padding:8px 10px;
                white-space:nowrap;text-overflow:ellipsis;overflow:hidden;                
            }
            .categoryList li a:hover {
                color: #f49484;
            }
            .categoryList li a i {
                color: #bbb;
                position: absolute;
                right: 0;
                font-style: normal;
                padding-left: 10px;
                background-color: #fff2d9;
            }

    /*搜索框*/
    .search-form {
        position: relative;
    }

    .search-input {
        width: 100%;
        height: 50px;
        line-height: 50px;
        padding-left: 15px;
        border: 1px solid #ddd;
        outline: none;
        -webkit-appearance: none;
    }

    .search-btn {
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        line-height: 50px;
        padding-left: 20px;
        padding-right: 20px;
        background-color: #f49484;
        -webkit-appearance: none;
        outline: none;
        border: none;
        color: #fff;
    }

        .search-btn:hover {
            background-color: #e78170;
        }
    /*小说列表*/
    .bookBox .book {
        display: block;
        padding: 15px;
        padding-bottom: 12px;
        font-size: 14px;
        border-top: 1px solid #ddd;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 8px 0 -3px #f6f6f6, 0 9px 1px -3px rgba(0, 0, 0, 0.2), 0 16px 0 -6px #f6f6f6, 0 17px 2px -6px rgba(0, 0, 0, 0.2);
        margin-bottom: 25px;
    }

    .bookBox .book:hover {
        transform: scale(1.01);
    }

    .book-title h3 {
        color: #f49484;
        margin: 0;
        display: inline-block;
        font-size: 18px;
        font-weight: normal;
        margin-right: 15px;
    }

    .book-title p {
        color: #24272c;
        margin: 0;
        display: inline-block;
        font-size: 14px;
    }

    .book-desc {
        color: #24272c;
        margin: 7px 0;
    }

    .book-update {
        margin: 0;
        color: #24272c;
    }

    .book-tip {
        color: #f49484;
        margin-left: 15px;
        display: inline-block;
    }

    .night .bookBox .book-title p, .night .bookBox .book-desc, .night .bookBox .book-update {
        color: #9a9a9a;
    }
    .night .bookBox .book,.night .tuijian-item{
        border-color: #555;
        box-shadow: 0 1px 1px rgba(211,211,211, 0.5), 0 8px 0 -3px #555, 0 9px 1px -3px rgba(211,211,211, 0.2), 0 16px 0 -6px #555, 0 17px 2px -6px rgba(211,211,211, 0.2);
    }
    .night .search-input {
        background-color:#ccc;
        border-color:#ccc;
    }
    .night .search-btn, .night .categoryMenu a {
        color: #ddd;
    }


         @media (max-width: 640px) {
    
            .nav{
                left:-251px;
                transition:left linear 0.5s;
            }
            .pageBox{
                padding-left:0;
            }
            .ContentBox{
                padding-left:15px;
                padding-right:15px;
                 width:auto;
            }
            body.active{
                overflow:hidden;
            }
              
            body.active .nav {
                left: 0px;
                position:fixed;
                border:none;
                
            }
            body.active .btnMenu{
                color:#fff;border-color:#fff;
            }

            body.active .btnMenu .am-icon-reorder:before {
                content: "\f00d";
            }
            body.active .mask {
                display:block;
                width:100%;
                height:100%;
                position:fixed;
                top:0;
                left:0;
                background-color:rgba(0,0,0,0.5);
                z-index:2;
            }
            .night body.active .mask{
                background-color:rgba(255,255,255,0.1);
            }
            .bookItem{
                height:80px;
            }
            .bookItem .bookName{
                height:80px;line-height:80px;font-size:24px;
            }   
          
                           
            .bookItem {
                height: 80px;
            }

            .bookItem .bookName {
                height: 80px;
                line-height: 80px;
                font-size: 24px;
            }

            .listHeader{
                padding:20px 10px;
            }
            .listHeader h1{
                display:block;font-size:20px;
            }
            #CategoryList .categoryList{
                border:none;
            }
        }

/*夜间模式*/
html.night,html.night body{
    background-color:#1f1c1d;
   
}

html.night .ContentBox .chapter,.night .categoryList,.night .categoryList li a i,.night .tuijian-item{
     background-color:#353434;
     color:#9a9a9a;
}

html.night .listHeader h1,.night .chapterItem a,.night .bookListHeader,.night  .lastRead a,.night .bookItem,.night .loading,
.night .tuijian-item-desc,.night .categoryList li a,.night #loading
{     
     color:#9a9a9a;
}
.night .nav{
    border-right-color:#555;
}
.night .am-icon-moon-o:before{
    content:"\f185"
}

 .night .lastRead p{
    font-size:20px;margin:0 0 5px;
}
.night  .lastRead a{
    border: 1px solid #555; 
}
.night .bookItem{
    background-color:#555;
    border-color:#555;
}

.night .chapterItem a,.night .tuijian-item{
    border-color:#555;
}
.night .categoryList{
    border-color:#1f1c1d
}